package cn.wolfcode.luowowo.repository;

import cn.wolfcode.luowowo.domain.Person;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PersonRepository extends MongoRepository<Person,String> {



    Person findByUserId(String id);
}
